﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="~/lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="~/lib/ligerUI/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
    <link href="~/lib/ligerUI/skins/Gray/css/all.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/css/common.css" rel="stylesheet" type="text/css" />
    <script src="~/lib/jquery/jquery-1.9.0.min.js" type="text/javascript"></script>
    <script src="~/lib/ligerUI/js/ligerui.all.js"></script>
    <script src="~/Scripts/common.js"></script>

    <style>
        body {
            /*height: 2000px;*/
        }

        input[type="checkbox"], input[type="radio"] {
            vertical-align: middle;
            margin-top: -2px;
            margin-bottom: 1px;
            margin-right: 5px;
        }

        .comboBoxMargin {
            margin: 7px 0px 0px 5px;
        }
    </style>

</head>
<body>
    <div class="l-loading" style="display: block" id="pageloading">
    </div>
    <div style="height:100%;margin:10px 0px 70px 0px;" id="divContent">
        <table style="width: 100%;">
            <tr style="height: 35px;">
                <td style="width: 110px; text-align: right;">事件类型：</td>
                <td>
                    <input type="text" id="eventTypeID" />
                </td>
            </tr>
            <tr style="height: 35px;">
                <td style="width: 110px; text-align: right;">所属科室：</td>
                <td>
                    <input type="text" id="areaID" />
                </td>
            </tr>
            <tr style="height: 35px;">
                <td style="width: 110px; text-align: right;">患者姓名：</td>
                <td>
                    <div style="float:left;padding-right:10px;"><input type="text" id="patientID" /></div>
                    <div id="divDischargedPatients" style="float:left;line-height:22px;">
                        <label for="isDischargedPatients">
                            <input type="checkbox" id="isDischargedPatients" />出院患者
                        </label>
                    </div>
                    <div style="float:left;margin-left:10px;">
                        性别：<input type="text" id="txtPatientSex" style="width: 25px;text-align:center;" class="l-text" maxlength="1" />
                    </div>
                    <div id="divAge" style="float:left;display:none;">
                        年龄：<input type="text" id="txtPatientAge" style="width: 25px;text-align:center;" class="l-text" maxlength="3" />&nbsp;岁
                        &nbsp;<input type="text" id="txtPatientAgeMonth" style="width: 25px;text-align:center;" class="l-text" maxlength="2" />&nbsp;月
                        &nbsp;<input type="text" id="txtPatientAgeWeek" style="width: 25px;text-align:center;" class="l-text" maxlength="2" />&nbsp;周
                        &nbsp;<input type="text" id="txtPatientAgeDay" style="width: 25px;text-align:center;" class="l-text" maxlength="2" />&nbsp;天
                    </div>
                    <div id="divAgeStr" style="float:left;margin-left:10px;">
                        年龄：<input type="text" id="txtPatientAgeStr" style="width: 100px;" class="l-text" maxlength="50" />
                    </div>
                </td>
            </tr>
            <tr style="height: 35px;">
                <td style="width: 110px; text-align: right;">入院时间：</td>
                <td>
                    <div style="float:left;">
                        <input type="text" id="txtPatientInTime" class="l-text" maxlength="20" />
                    </div>
                    <div style="float:left;padding-top:2px;margin-left:15px;">
                        住院号：<input type="text" id="txtPatientID" class="l-text" maxlength="20" disabled="disabled" />
                    </div>
                </td>
            </tr>
            <tr style="height: 35px;" id="divIsTransfer">
                <td style="width: 110px; text-align: right;">是否转科：</td>
                <td>
                    <div style="float:left;line-height:35px;">
                        <label for="isTransfer1">
                            <input type="radio" id="isTransfer1" name="isTransfer" value="0" onclick="$('#divTransferInfo').hide();" checked />&nbsp;否
                        </label>&nbsp;&nbsp;
                        <label for="isTransfer2">
                            <input type="radio" id="isTransfer2" name="isTransfer" value="1" onclick="$('#divTransferInfo').show(); bindTransferDepartment();" />&nbsp;是
                        </label>
                    </div>
                    <div id="divTransferInfo" style="display:none; float:left; margin-left:20px;">
                        <div style="float:left;line-height:35px;">转科时间：</div>
                        <div style="float:left;padding-top:5px;">
                            <input type="text" id="txtTransferTime" class="l-text" maxlength="20" />
                        </div>
                        <div style="float:left;line-height:35px; margin-left:15px;">转出病区：</div>
                        <div style="float:left;padding-top:5px;">
                            <input type="text" id="transferDepartCode" />
                        </div>
                    </div>
                </td>
            </tr>
            <tr id="trCreateTime" style="height: 35px;display:none;">
                <td style="width: 110px; text-align: right;">报告时间：</td>
                <td>
                    <input type="text" id="txtCreateTime" class="l-text" maxlength="20" style="width:140px;" disabled="disabled" />
                </td>
            </tr>
            <tr style="height: 35px;">
                <td style="width: 110px; text-align: right; vertical-align: text-top; padding-top: 7px;">医患诊断：</td>
                <td style="padding-top: 7px;">
                    <textarea id="txtPatientDiagnosis" cols="70" rows="6" class="l-textarea" maxlength="500" style="padding:5px;"></textarea>
                </td>
            </tr>
            <tr style="height: 35px;" id="trNursingGrade">
                <td style="text-align: right; height: 35px;">护理等级：</td>
                <td style="height: 35px;">
                    <input type="text" id="patientNursingGrade" style="width: 130px;">
                </td>
            </tr>
            <tr style="height: 35px; display:none;" id="insertMode">
                <td style="width: 110px; text-align: right;">事件方式：</td>
                <td>
                    <font id="eventName"></font>
                </td>
            </tr>
            <tr style="height: 35px; display:none;" id="trEventRemark">
                <td style="width: 110px; text-align: right;"></td>
                <td>
                    <font id="eventRemark"></font>
                </td>
            </tr>
            <tr style="height: 35px;">
                <td style="width: 110px; text-align: right;">皮肤情况（部位、<br>程度、范围）：</td>
                <td>
                    <textarea id="txtSkinCondition" cols="70" rows="6" class="l-textarea" maxlength="500" style="padding:5px;margin:10px 0px;"></textarea>
                </td>
            </tr>
            <tr>
                <td style="width: 110px; text-align: right;">特殊情况：</td>
                <td>
                    <textarea id="txtExceptionalCase" cols="70" rows="6" class="l-textarea" maxlength="500" style="padding:5px;margin:7px 0px;"></textarea>
                </td>
            </tr>
            <tr class="trDuDaoJiLu" style="display:none;">
                <td style="width: 110px; text-align: right;">督导记录：</td>
                <td>
                    <textarea id="txtDuDaoRemark" cols="70" rows="6" class="l-textarea" maxlength="500" style="padding:5px;margin:7px 0px;"></textarea>
                </td>
            </tr>
            <tr class="trFanKui">
                <td style="width: 110px; text-align: right;">预后：</td>
                <td>
                    <textarea id="txtYuHou" cols="70" rows="6" class="l-textarea" maxlength="500" style="padding:5px;margin:7px 0px;" disabled="disabled"></textarea>
                </td>
            </tr>
            <tr class="trFanKui">
                <td style="width: 110px; text-align: right;">转归：</td>
                <td>
                    <textarea id="txtZhuanGui" cols="70" rows="6" class="l-textarea" maxlength="500" style="padding:5px;margin:7px 0px;" disabled="disabled"></textarea>
                    <div>
                        注：双击预后或转归填写反馈信息
                    </div>
                </td>
            </tr>
        </table>

        <input type="hidden" id="hdnEventID" value="@(ViewBag.EventID)" />
        <input type="hidden" id="hdnPageType" value="@(ViewBag.PageType)" />
        <input type="hidden" id="hdnCurrDepCode" value="@(ViewBag.CurrDepCode)" />
        <input type="hidden" id="hdnDetailsViewBtns" value="@(ViewBag.DetailsViewBtns)" />
        <input type="hidden" id="hdnStatus" value="@(ViewBag.Status)" />
        <input type="hidden" id="hdnYcFanKuiJson" value="" />
    </div>
    <div class="bottomPosition">
        <input id="btnBack" type="button" value="返回" class="l-button-cancel" />
        <input id="btnReport" type="button" value="打印" class="l-button" />
        <input id="btn1" type="button" class="l-button" style="display:none;" />
        <input id="btn2" type="button" class="l-button" style="display:none;" />
    </div>
</body>
</html>
@{
    <script src="~/Areas/AdverseEvent/Scripts/EditPressureSoreEvent.js?v=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}
